#import "WebHUDLoader.h"


@implementation WebHUDLoader

+ (void)load
{
	
	if ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.Safari"]) {
		NSString *path = [[[NSBundle bundleWithIdentifier:@"de.inquant.WebHUDLoader"] builtInPlugInsPath] stringByAppendingPathComponent:@"WebHUD.bundle"];
		NSError *error;
		if (![[NSBundle bundleWithPath:path] loadAndReturnError:&error])
			NSLog(@"WebHUD could not be loaded: %@", error);
	}
}

@end
